<div class="main">
<div class="body">
  <div id="menu">
  	<a href="/users/edit"><?php echo $lang['menu_user_add']; ?></a>
    <a href="/users" class="on"><?php echo $lang['menu_user_list']; ?></a>
  </div>
  <div id="list">
  <div class="mid" id="tabs"></div>
  <table class="list" id="game">
    <tr class="head">
      <td><?php echo $lang['field_username']; ?></td><td><?php echo $lang['field_email']; ?></td>
      <td><?php echo $lang['field_mobile']; ?></td><td><?php echo $lang['field_create_time']; ?></td><td></td>
    </tr>
    <?php
	if($list){
		foreach($list as $k=>$v){
	?>
    <tr>
      <td><?php echo $v->username; ?></td>
      <td><?php echo $v->email; ?></td>
      <td><?php echo $v->mobile; ?></td>
      <td><?php echo $v->create_time; ?></td>
      <td><a href="/users/edit/<?php echo $v->user_id; ?>"><?php echo $lang['button_edit']; ?></a> 
      | <a href="/users/del/<?php echo $v->user_id; ?>" onclick="return confirm('<?php echo $lang['del_confirm']; ?>')"><?php echo $lang['button_del']; ?></a></td>
    </tr>
    <?php
		}
	}
	?>          
  </table>
  <div class="pager mid"><?php echo $pager; ?></div>
  </div>
</div>
</div>